import commissionApi from "@/api/declaration/mall/commissionApi"
import httpRequest from "@/config/axios/httpRequest"


// 查询佣金记录列表
export const getBrokerageRecordPage = async (params: any) => {
  return await httpRequest.get(commissionApi.GetBrokerageRecordPage, params)
}

// 查询佣金记录详情
export const getBrokerageRecord = async (id: number) => {
  return await httpRequest.get(commissionApi.GetBrokerageRecord, { params: { id} })
}
